home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / biz / demo / StylusDemo.lha / Stylus_Demo / REXX / ToggleRulers.pvrx < prev    next >
Text File  |  1991-07-16  |  321b  |  16 lines

  1. /* ToggleRulers.pvrx---toggles rulers on or off.
  2.    Copyright © 1991 by Stylus, Inc. */
  3.    
  4.  
  5. /* Always do this for a ProVector AREXX macro */
  6. 'Lock'
  7. if RC ~= 0 then exit
  8.  
  9. 'GetScreenFormat' Var
  10. if Var.Rulers=True then Var.Rulers=False
  11. else Var.Rulers=True
  12. 'SetScreenFormat' Var
  13.  
  14. /* All done!  Unlock ProVector */
  15. 'UnLock'
  16.